import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/dept_get_entity_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/dept_get_entity_entity.g.dart';

@JsonSerializable()
class DeptGetEntityEntity {
	int? id;
	String? name;
	int? parentId;
	int? sort;
	int? leaderUserId;
	String? phone;
	String? email;
	int? status;
	String? createTime;
	int? flag;

	DeptGetEntityEntity();

	factory DeptGetEntityEntity.fromJson(Map<String, dynamic> json) => $DeptGetEntityEntityFromJson(json);

	Map<String, dynamic> toJson() => $DeptGetEntityEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}